package westcrm

import (
	"encoding/xml"

	"github.com/bububa/opentaobao/model"
)

// AlibabaWestcrmIsMemberGetAPIResponse 查询是否是亲橙里会员 API返回值
// alibaba.westcrm.is.member.get
//
// 根据淘宝Id查询是否是亲橙里会员
type AlibabaWestcrmIsMemberGetAPIResponse struct {
	model.CommonResponse
	AlibabaWestcrmIsMemberGetAPIResponseModel
}

// AlibabaWestcrmIsMemberGetAPIResponseModel is 查询是否是亲橙里会员 成功返回结果
type AlibabaWestcrmIsMemberGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_westcrm_is_member_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// true:是亲橙里会员，false：不是亲橙里会员
	IsHaveMember bool `json:"is_have_member,omitempty" xml:"is_have_member,omitempty"`
}
